package com.ldzysoft.tropsexpert.model;

/**
 *获取识别结果响应实体
 * {"status":"1","msg":"操作成功","content":{"result":"正常","score":41.24}}                    ——识别成功
 *
 * {"status":"1","msg":"操作成功","content":{"msg":"无法识别该物种,请选取正常物种"}
 *
 * {"status":"0","msg":"操作失败","content":{"msg":"图片获取失败，请检查URL地址"}      ——URL
 */
public class GetExpertResultResponse {
    private String status;
    private String msg;
    private ContentBean content;

    @Override
    public String toString() {
        return "GetExpertResultResponse{" +
                "status='" + status + '\'' +
                ", msg='" + msg + '\'' +
                ", content=" + content +
                '}';
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ContentBean getContent() {
        return content;
    }

    public void setContent(ContentBean content) {
        this.content = content;
    }

    public static class ContentBean{
        private String msg;
        private String result;
        private Double score;

        @Override
        public String toString() {
            return "ContentBean{" +
                    "msg='" + msg + '\'' +
                    ", result='" + result + '\'' +
                    ", score=" + score +
                    '}';
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getResult() {
            return result;
        }

        public void setResult(String result) {
            this.result = result;
        }

        public Double getScore() {
            return score;
        }

        public void setScore(Double score) {
            this.score = score;
        }
    }
}
